Loading...
OptionPerks mobile Logo OptionPerks Logo

Simple Moving Average

Simple moving average (SMA) is a technical chart overlay that smooths price action over a defined time period. Learn what an SMA is and how to calculate it.
View risk disclosures

Technical indicators use formulas to generate data points, which are crucial for creating alerts, confirming analyses, and forecasting prices. One of the most popular indicators is the moving average.

What are Moving Averages?

Moving averages smooth a series of data points, reducing the randomness of a security’s price fluctuations to reveal underlying trends. They are commonly calculated using closing prices for a specific timeframe.

How to Use Simple Moving Average (SMA)

A simple moving average is an arithmetic average of a set of data points. It is a smoothing tool that displays trends for a specific number of periods. For instance, a 50-period SMA calculates the average closing price of the last 50 periods. The length of the SMA determines its responsiveness to new data points, impacting trend identification.

Simple Moving Average Example

SMA is often used to determine short, medium, and long-term trends with default indicators like 10, 50, and 200-day SMAs. It can be applied to short or long time periods based on the chart's timeframe.

How to Calculate Simple Moving Average

To calculate SMA:

  1. Determine the closing price for each data point.
  2. Sum the closing prices.
  3. Divide the summed closing prices by the number of periods in the SMA.

Simple Moving Average vs. Exponential Moving Average (EMA)

The choice between SMA and EMA depends on the desired responsiveness to trend changes. EMAs react more quickly to new data points, addressing the “drop-off effect” seen in SMAs. Align the moving average length with your trading timeframe for effective trend analysis.

FAQs

How do you calculate a simple moving average?

A simple moving average is an arithmetic average of a set of data points where each data point is added together and then divided by the total number of data points. For example, a 10-period SMA calculates the average closing price of the last 10 periods.

Is simple moving average the same as moving average?

There are two types of moving averages: a simple moving average and an exponential moving average. A simple moving average is an arithmetic average, while an exponential moving average is the weighted average of a set of data points.

Which is better: simple or exponential moving average?

Simple moving averages and exponential moving averages help identify trends. Exponential moving averages respond faster to new data points, reducing lag in responsiveness to price movements. The choice depends on the investor's trading strategy and preferences.